package cho00;

import java.util.concurrent.Callable;

/**
 * Created by 春旺 on 2017/4/15.
 */
public class Complex2
{
    public Complex2(){
    System.out.println("a+bi");
}
public Complex2(double R, double I){
        System.out.println(R +"+" + I + "i");
}
    private double ReadPart;
    private double ImagePart;

    public double getReadPart()
    {
        return ReadPart;
    }

    public void setReadPart(int num){
        ReadPart = num;

    }

    public double getImagePart(){
        return ImagePart;
    }

    public void setImagePart(int num){
     ImagePart = num;
    }






    }

